Remove the hokey add_lockfile_sources
authorAlex Crichton <alex@alexcrichton.com>
Wed, 22 Oct 2014 22:05:49 +0000 (15:05 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 27 Oct 2014 19:40:23 +0000 (12:40 -0700)
commitebd3c1da77f61b8405aceeb33ac64e90d22d79e1
tree4aa06bd975181df4cf0ab6883ee7a8c61ffccdec
parent9fba127e4feafdece943637a85ab67fa7af02b02
Remove the hokey add_lockfile_sources

This method shouldn't be necessary as it should be possible to simply add all
sources known in the lockfile to a package registry, and
core::{resolve, registry} should take care of weeding them out if necessary.

In the process of doing so, this actually ends up fixing a problem with
rewriting a dependency to a new one which shares transitive deps. Previously all
the transitive deps were updated, but now the transitive deps remain locked at
where they were previously locked.
src/cargo/ops/cargo_fetch.rs
tests/test_cargo_compile_git_deps.rs